/*
 * buffer_test.cpp
 *
 *  Created on: 06.04.2010
 *      Author: Florian Gref
 */
#include "buffer.h"



int main() {

	Buffer* test=new Buffer("C://test.txt");

	std::cout<<""<<test->getChar();
	std::cout<<""<<test->getChar();
	std::cout<<""<<test->getChar();
	std::cout<<""<<test->getChar();
	std::cout<<""<<test->getChar();
	std::cout<<""<<test->getChar();
	test->ungetChar();
	test->ungetChar();
	std::cout<<""<<test->getChar();
	std::cout<<""<<test->getChar();
	std::cout<<""<<test->getChar();



	return 0;
}
